from datetime import datetime
from typing import Optional

from pydantic import BaseModel

from app.schemas.base_model import OrmBaseModel


class ExchangeBase(OrmBaseModel):
    id: Optional[int]
    code: Optional[str]
    name: Optional[str]
    createdDate: Optional[datetime]
    updatedDate: Optional[datetime]


class ExchangeQuery(ExchangeBase):
    pass
